package com.liangzdemo.observer;

import android.util.Log;

/**
 * Created by liangz on 2018/3/25.
 */

public class OrderObserver implements Observer{

    public OrderObserver(Function function) {
        function.addObserver(this);
    }


    @Override
    public void upLoginTag(boolean isLogin) {
//        System.out.println("订单得到的登陆状态: -->" + isLogin);
        Log.d("coco_demo_observer","订单得到的登陆状态: -->" + isLogin);
    }
}
